﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Detail.master" AutoEventWireup="true" CodeFile="UpdateInfo.aspx.cs" Inherits="users_UpdateInfo" %>

<%@ Register src="../usercontrol/other/Support.ascx" tagname="Support" tagprefix="uc1" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHeader" Runat="Server">
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="ContentPlaceSlide" Runat="Server">
</asp:Content>
<asp:Content ID="Content4" ContentPlaceHolderID="ContentPlaceMain" Runat="Server">
    <%--<asp:UpdatePanel ID="UpdatePanel1" runat="server">
<ContentTemplate>--%>
 <div class="block-header">Cập nhật thông tin cá nhân </div>
    <div class="row">
    <fieldset class="register">
        <legend >Thông tin khách hàng</legend>
         <div class="rowline">
            <div class="lname">(*)bắt buộc</div>
            <div class="itext">
                <asp:Label ID="Lthongbao" runat="server" Text=""></asp:Label>
                <asp:HiddenField ID="hdid" runat="server" />
            </div>
         </div>
        <div class="rowline">
            <div class="lname">Họ tên:</div>
            <div class="itext">
                <asp:TextBox ID="txthoten" runat="server" Width="200px" Enabled="False" 
                    ReadOnly="True"></asp:TextBox> 
                <asp:RequiredFieldValidator ID="Rfhoten" ControlToValidate="txthoten" runat="server" ErrorMessage="(*)"></asp:RequiredFieldValidator>     
            </div>
        </div>
          <div class="rowline">
            <div class="lname">Tên đăng nhập:</div>
            <div class="itext">
                <asp:TextBox ID="txttendangnhap" runat="server" Width="200px" ReadOnly="True" Enabled="False" 
                  ></asp:TextBox>   
                 <asp:RequiredFieldValidator ID="rftendangnhap" runat="server" 
                    ErrorMessage="(*)" ControlToValidate="txttendangnhap"></asp:RequiredFieldValidator>            
            </div>
        
        </div>
         <div class="rowline">
            <div class="lname">Địa chỉ:</div>
            <div class="itext">
                <asp:TextBox ID="txtdiachi" runat="server" Width="300px"></asp:TextBox>      
                <asp:RequiredFieldValidator ID="Rfdiachi" runat="server" ErrorMessage="(*)" 
                    ControlToValidate="txtdiachi"></asp:RequiredFieldValidator>
           </div>
        
        </div>
         <div class="rowline">
            <div class="lname">Điện thoại:</div>
            <div class="itext">
                <asp:TextBox ID="txtdienthoai" runat="server" Width="200px"></asp:TextBox> 
                <asp:RequiredFieldValidator ID="Rfdienthoai" runat="server" ErrorMessage="(*)" 
                    ControlToValidate="txtdienthoai"></asp:RequiredFieldValidator>              
            </div>
        
        </div>
         <div class="rowline">
            <div class="lname">Email:</div>
            <div class="itext">
                <asp:TextBox ID="txtemail" runat="server" Width="250px"></asp:TextBox>   
                <asp:RegularExpressionValidator ID="rglemail" runat="server" 
                    ErrorMessage="Email không đúng" ControlToValidate="txtemail" 
                    ValidationExpression="\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*" 
                    Display="Dynamic"></asp:RegularExpressionValidator>            
            </div>
        
        </div>
        <div class="rowline">
            <div class="lname">Thành phố:</div>
            <div class="itext">
                <asp:TextBox ID="txtthanhpho" runat="server" Width="200px" ></asp:TextBox> 
                 <asp:RequiredFieldValidator ID="Rfthanhpho" runat="server" ErrorMessage="(*)" 
                    ControlToValidate="txtthanhpho"></asp:RequiredFieldValidator>              
            </div>
      
          <div class="rowline">
            <div class="lname">Mã xác nhận:</div>
            <div class="itext" style="float: left">
                <div style="float: left">
                    <asp:TextBox ID="txtcapcha" runat="server" Width="100px"></asp:TextBox>
                </div>     
                <div class ="capcha">
                    <asp:Literal ID="macapcha" runat="server"></asp:Literal>
                </div>         
            </div>
        
        </div>
        </div>
         <div class="rowline">
            <div class="lname"></div>
            <div class="itext">
                <asp:Button ID="btndangky" CssClass="btnsubmit" runat="server" Text="Cập Nhật" 
                    onclick="btndangky_Click" />
                           
            </div>
        
        </div>
    </fieldset>
</div>
<%--</ContentTemplate>
    
    </asp:UpdatePanel>--%>
</asp:Content>
<asp:Content ID="Content5" ContentPlaceHolderID="ContentPlaceRight" Runat="Server">
 
    <uc1:Support ID="Support1" runat="server" />
 
</asp:Content>
<asp:Content ID="Content6" ContentPlaceHolderID="ContentPlaceFooter" Runat="Server">
</asp:Content>

